package com.toe.pojo.entity.recommend;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陶涛
 * @since 2022-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RecommendClasses对象", description="")
public class RecommendClasses implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商家id")
    private Long businessId;
    @ApiModelProperty(value = "课程名称")
    private String name;
    @ApiModelProperty(value = "课程标题")
    private String title;
    @ApiModelProperty(value = "课程地址")
    private String url;
    @ApiModelProperty(value = "课程描述")
    private String description;
    @ApiModelProperty(value = "关键字")
    private String keywords;
    @ApiModelProperty(value = "课程封面")
    private String pictures;
    @ApiModelProperty(value = "是否审核")
    private Integer isChecked;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;


}
